import request from '@/utils/request'

// 查询退款单列表
export function listPaymentReturn(query) {
  return request({
    url: '/finance/paymentReturn/selectPaymentReturnList',
    method: 'get',
    params: query
  })
}
// 上传退款单
export function uploadReturnImage(data) {
  return request({
    url: '/finance/paymentReturn/uploadReturnImage',
    method: 'post',
    data: data
  })
}
// 标记已收款
export function setPaymentRequestMark(paymentRequestId) {
  return request({
    url: '/finance/paymentReturn/setPaymentRequestMark/'+paymentRequestId,
    method: 'post'
  })
}
